package com.smfx.yxt.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.smfx.yxt.daoSqlserver.StudentSchoolPrizeMapper;
import com.smfx.yxt.model.StudentSchoolPrize;
import com.smfx.yxt.reqVo.ScoreSummaryQueryVO;
import com.smfx.yxt.service.IStudentSchoolPrizeService;

@Service("studentSchoolPrizeService")
public class StudentSchoolPrizeServiceImpl implements IStudentSchoolPrizeService {

	@Autowired
	private StudentSchoolPrizeMapper studentSchoolPrizeMapper;
	@Override
	public int insertSelective(StudentSchoolPrize record) {
		return studentSchoolPrizeMapper.insertSelective(record);
	}

	@Override
	public StudentSchoolPrize selectByPrimaryKey(Integer id) {
		return studentSchoolPrizeMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(StudentSchoolPrize record) {
		return studentSchoolPrizeMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public List<StudentSchoolPrize> selectListByParam(ScoreSummaryQueryVO vo) {
		return studentSchoolPrizeMapper.selectListByParam(vo);
	}

	@Override
	public List<StudentSchoolPrize> selectStudentPrizeList(Integer studentId) {
		return studentSchoolPrizeMapper.selectStudentPrizeList(studentId);
	}
	
	

}
